-- GENERATED SPELL FOR [Raliq the Drunk] --


function spell0_18585(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(10966,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18585', 560, 1)
end

function Sorts_18585(pUnit, Event)
local choix_sorts_18585 = math.random(0, 0)
if choix_sorts_18585 == 0 then
pUnit:RegisterEvent('spell0_18585', 1, 1)
end
end

function mob18585_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18585', math.random(1500, 3000), 1)
end

function mob18585_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18585_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18585_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18585, 1, 'mob18585_Action')
RegisterUnitEvent(18585, 2, 'mob18585_Leave')
RegisterUnitEvent(18585, 3, 'mob18585_Kill')
RegisterUnitEvent(18585, 4, 'mob18585_Die')
